
class Category:
    def __init__(self, categoryId, description, imageUrl, stacks):
        self.categoryId = categoryId
        self.description = description
        self.imageUrl = imageUrl
        self.stacks = stacks
    def to_dict(self):
        return {
            'categoryId': self.categoryId,
            'description': self.description,
            'imageUrl': self.imageUrl,
            'stacks': self.stacks
        }